import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Henhouse from '@/components/Henhouse'
import Song_Details from '@/components/Song_Details'
import Upload_Song from '@/components/Upload_Song'
import test from '@/components/test'
var routes = [
  {
    path: '/',
    name: 'Index',
    component: Index
  },
  {
    path: '/henhouse',
    name: 'Henhouse',
    component: Henhouse
  },
  {
    path: '/song_details',
    name: 'Song_Details',
    component: Song_Details
  },
  {
    path: '/upload_song',
    name: 'Upload_Song',
    component: Upload_Song
  },
  {
    path: '/test',
    name: 'test',
    component: test
  },
]
Vue.use(Router)

export default new Router({
  routes:routes,
  mode:'history'   /*hash*/
})